package org.zcl.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.zcl.entity.User;
import org.zcl.rpc.UserCloud;
import org.zcl.service.FeignService;

/**
 * .
 *
 * @author zhuchenglin
 * @since 2024/7/8 18:37
 */
@Service
public class FeignServiceImpl implements FeignService {

    @Autowired
    private UserCloud userCloud;

    @Override
    public User getById(Long id) {
        return userCloud.getById(id);
    }
}
